import { Injectable } from '@angular/core';
import { Http } from '@angular/http';

@Injectable()

export class AddFriendProvider{

    constructor(private http:Http){}

    addFriendRequest(param){
        return this.http.post('/api/friend/addRequest',param);
    }

    searchFriend(param){
        return this.http.post('/api/friend/search',param);
    }
}